package org.ypx.center.service;


import org.ypx.db.entity.Task;
import org.ypx.db.entity.UserInfo;
import org.ypx.db.entity.UserTask;
import org.ypx.shared.common.Result;
import org.ypx.shared.service.vo.TaskVO;

import java.util.List;

/**
 * Created by 听闻に on 2017/3/17.
 */

public interface ITaskService extends BaseService<Task> {

    Result<List<Task>> selectByUserTask(UserTask userTask);

    Result<List<Task>> saveByUserInfo(Task entity, UserInfo userInfo);

    Result<List<TaskVO>> selectTaskList(Task task);

    Result<List<TaskVO>> selectTaskList(Task task, UserTask userTask);
}
